

using System;
using System.Collections.Generic;
using System.Text;
using DataAccessLayer;
using EntityLayer;
using DataLayer;
using System.Data;
using InfraStructureLayer;

namespace BusinessLayer
{
    public class busArticleArticleCategories : BusinessBase
    {
        public busArticleArticleCategories()
            : base()
        {
        }

        public DataTable SelectArticleArticleCategoriesByArticleId(entArticleArticleCategories parEntArticleArticleCategories)
        {
            try
            {
                DbConnector insDbConnector = new DbConnector();
                datArticleArticleCategories insDatArticleArticleCategories = new datArticleArticleCategories();
                return insDatArticleArticleCategories.SelectArticleArticleCategoriesByArticleId(parEntArticleArticleCategories, insDbConnector);
            }
            catch (SFException ex)
            {
                this.ErrorMessage = ex.Message;
            }
            return null;
        }
        public DataTable SelectArticleArticleCategoriesByArticleIdAndLanguageId(entArticleArticleCategories parEntArticleArticleCategories)
        {
            try
            {
                DbConnector insDbConnector = new DbConnector();
                datArticleArticleCategories insDatArticleArticleCategories = new datArticleArticleCategories();
                return insDatArticleArticleCategories.SelectArticleArticleCategoriesByArticleIdAndLanguageId(parEntArticleArticleCategories, insDbConnector);
            }
            catch (SFException ex)
            {
                this.ErrorMessage = ex.Message;
            }
            return null;
        }
    }
}